/**
 * admin.css
 */

/*
 fixed-layout 固定头部和边栏布局
*/

html,
body {
  height: 100%;
  overflow: hidden;
}

ul {
  margin-top: 0;
}

.admin-icon-yellow {
  color: #ffbe40;
}

.admin-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1500;
  font-size: 1.4rem;
  margin-bottom: 0;
  background: url("../images/bg_header.jpg") no-repeat !important;
  background-size: 100% 100%;
  .tpl-logo {
    width: 250px;
  }
}

.admin-header-list a:hover :after {
  content: none;
}

.admin-main {
  position: relative;
  height: 100%;
  padding-top: 51px;
  background: #f3f3f3;
}

.admin-menu {
  position: fixed;
  z-index: 10;
  bottom: 30px;
  right: 20px;
}

.admin-sidebar {
  width: 260px;
  min-height: 100%;
  float: left;
  border-right: 1px solid #cecece;
}

.admin-sidebar.am-active {
  z-index: 1600;
}

.admin-sidebar-list {
  margin-bottom: 0;
}

.admin-sidebar-list li a {
  color: #5c5c5c;
  padding-left: 24px;
}

.admin-sidebar-list li:first-child {
  border-top: none;
}

.admin-sidebar-sub {
  margin-top: 0;
  margin-bottom: 0;
  box-shadow: 0 16px 8px -15px #e2e2e2 inset;
  background: #ececec;
  padding-left: 24px;
}

.admin-sidebar-sub li:first-child {
  border-top: 1px solid #dedede;
}

.admin-sidebar-panel {
  margin: 10px;
}

.admin-content {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  background: #fff;
}

.admin-content,
.admin-sidebar {
  height: 100%;
  overflow-x: hidden;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
}

.admin-content-body {
  -webkit-box-flex: 1;
  -webkit-flex: 1 0 auto;
  -ms-flex: 1 0 auto;
  flex: 1 0 auto;
}

.admin-content-footer {
  font-size: 85%;
  color: #777;
}

.admin-content-list {
  border: 1px solid #e9ecf1;
  margin-top: 0;
}

.admin-content-list li {
  border: 1px solid #e9ecf1;
  border-width: 0 1px;
  margin-left: -1px;
}

.admin-content-list li:first-child {
  border-left: none;
}

.admin-content-list li:last-child {
  border-right: none;
}

.admin-content-table a {
  color: #535353;
}

.admin-content-file {
  margin-bottom: 0;
  color: #666;
}

.admin-content-file p {
  margin: 0 0 5px 0;
  font-size: 1.4rem;
}

.admin-content-file li {
  padding: 10px 0;
}

.admin-content-file li:first-child {
  border-top: none;
}

.admin-content-file li:last-child {
  border-bottom: none;
}

.admin-content-file li .am-progress {
  margin-bottom: 4px;
}

.admin-content-file li .am-progress-bar {
  line-height: 14px;
}

.admin-content-task {
  margin-bottom: 0;
}

.admin-content-task li {
  padding: 5px 0;
  border-color: #eee;
}

.admin-content-task li:first-child {
  border-top: none;
}

.admin-content-task li:last-child {
  border-bottom: none;
}

.admin-task-meta {
  font-size: 1.2rem;
  color: #999;
}

.admin-task-bd {
  font-size: 1.4rem;
  margin-bottom: 5px;
}

.admin-content-comment {
  margin-bottom: 0;
}

.admin-content-comment .am-comment-bd {
  font-size: 1.4rem;
}

.admin-content-pagination {
  margin-bottom: 0;
}

.admin-content-pagination li a {
  padding: 4px 8px;
}

@media only screen and (min-width: 641px) {
  .admin-sidebar {
    display: block;
    position: static;
    background: none;
  }

  .admin-offcanvas-bar {
    position: static;
    width: auto;
    background: none;
    -webkit-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    overflow-y: visible;
    min-height: 100%;
  }

  .admin-offcanvas-bar:after {
    content: none;
  }
}

@media only screen and (max-width: 640px) {
  .admin-sidebar {
    width: inherit;
  }

  .admin-offcanvas-bar {
    background: #f3f3f3;
  }

  .admin-offcanvas-bar:after {
    background: #BABABA;
  }

  .admin-sidebar-list a:hover, .admin-sidebar-list a:active {
    -webkit-transition: background-color .3s ease;
    -moz-transition: background-color .3s ease;
    -ms-transition: background-color .3s ease;
    -o-transition: background-color .3s ease;
    transition: background-color .3s ease;
    background: #E4E4E4;
  }

  .admin-content-list li {
    padding: 10px;
    border-width: 1px 0;
    margin-top: -1px;
  }

  .admin-content-list li:first-child {
    border-top: none;
  }

  .admin-content-list li:last-child {
    border-bottom: none;
  }

  .admin-form-text {
    text-align: left !important;
  }

}

/*
* user.html css
*/
.user-info {
  margin-bottom: 15px;
}

.user-info .am-progress {
  margin-bottom: 4px;
}

.user-info p {
  margin: 5px;
}

.user-info-order {
  font-size: 1.4rem;
}

/*
* errorLog.html css
*/

.error-log .am-pre-scrollable {
  max-height: 40rem;
}

/*
* table.html css
*/

.table-main {
  font-size: 1.4rem;
  padding: .5rem;
}

.table-main button {
}

.table-check {
  width: 30px;
}

.table-id {
  width: 50px;
}

@media only screen and (max-width: 640px) {
  .table-select {
    margin-top: 10px;
    margin-left: 5px;
  }
}

/*
gallery.html css
*/

.gallery-list li {
  padding: 10px;
}

.gallery-list a {
  color: #666;
}

.gallery-list a:hover {
  color: #3bb4f2;
}

.gallery-title {
  margin-top: 6px;
  font-size: 1.4rem;
}

.gallery-desc {
  font-size: 1.2rem;
  margin-top: 4px;
}

/*
 404.html css
*/

.page-404 {
  background: #fff;
  border: none;
  width: 200px;
  margin: 0 auto;
}

.line {
  display: flex;
  align-items: center;
}

.line .am-form-group {
  margin-right: 10px;
}

.line .am-form-group:last-child {
  margin-right: 0;
}

.tips {
  margin-left: 10px;
  color: #e33;
  font-size: 14px;
}

.check-error {
  border: 1px solid #e33 !important;
}

.model_panel {
  display: flex;
  align-items: center;
  height: 100%;
}

.refresh_btn {
  position: absolute;
  top: 28%;
  background: transparent;
  height: 20px;
  line-height: 20px;
  margin-top: -10px;
  right: 10px;
  color: #999;
  border: none;
  outline: none
}

.refresh_btn i {
  font-size: 18px;
  font-weight: normal;
}

.img_content {
  width: 80px;
  height: 80px;
  border: 2px dashed #ccc;
  display: flex;
  align-content: center;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.preview_btn {
  margin-left: 14px;
  display: none
}

.img_content input {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 100;
  opacity: 0;
}

.img_content i {
  font-size: 25px;
  color: #999;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.img_content img {
  width: 100%;
  height: auto;
}

.file_btn {
  position: relative;
  margin-right: 8px;
}

.file_btn [type='file'] {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  z-index: 10;
}

.import_tips_content {
  width: 50%;
  margin-left: 31.6%;
  font-size: 14px;
  margin-top: 20px;
}

.import_tips_content p {
  margin: 0px;
  padding: 0px;
  line-height: 30px;
}

/*登录*/
.myapp-login {
  background-size: 100%;
  height: 100%;
  overflow: hidden;
  background: #fff;
  .bg_l_b, .bg_r_t, .bg_r_b {
    position: absolute;
    background-repeat: no-repeat;
    background-size: 100% auto;
    z-index: 3;
  }
  .bg_l_b {
    width: 150px;
    height: 220px;
    background-position: left bottom;
    bottom: 0;
    background-image: url("../images/login_bg_l_b.png");
    left: 0;
  }
  .bg_r_t {
    width: 170px;
    height: 170px;
    background-position: right top;
    top: 0;
    background-image: url("../images/login_bg_r_t.png");
    right: 0;
  }
  .bg_r_b {
    width: 220px;
    height: 330px;
    background-position: right bottom;
    bottom: 0;
    background-image: url("../images/login_bg_r_b.png");
    right: 0;
  }
}

@media only screen and (max-width: 1580px) {
  .bg_l_b, .bg_r_t, .bg_r_b {
    display: none;
  }
}

.myapp-login-logo-block {
  width: 1200px;
  margin: auto;
  position: relative;
  background: url("../images/login_bg_s.png") no-repeat left top;
  background-size: auto 100%;
  height: 100%;
  &:before {
    content: '';
    position: absolute;
    top: 0;
    width: 120%;
    right: 100%;
    bottom: 0;
    background: url("../images/login_bg_line.png") repeat-x;
    background-size: auto 100%;
    z-index: 0;
  }

}

.login_header {
  display: flex;
  align-items: center;
  padding-top: 4.5%;
  padding-bottom: 4%;
  .logo_content {
    margin: 0;
    img {
      height: 36px;
    }
  }
  .service {
    display: flex;
    align-items: center;
    color: #333;
    flex: 1;
    justify-content: flex-end;
    font-size: 18px;
    svg {
      font-size: 17px;
      margin-right: 10px;
    }
  }
}

.copyright {
  text-align: center;
  font-size: 14px;
  color: #444;
  position: absolute;
  bottom: 10px;
  width: 100%;
  left: 0;
  z-index: 1000;
  a {
    font-size: 13px;
    color: #555;
  }
}

.login_body {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
  .login_img {
    position: relative;
    img {
      width: 87%;
      margin-left: -11%;
    }
  }
  .login_form_panel {
    width: 400px;
    background: #FFFFFF;
    box-shadow: 0px 5px 50px 0px rgba(94, 121, 187, 0.1);
    opacity: 0.85;
    border-radius: 20px;
    margin-top: -20%;
    overflow: hidden;
    padding: 15px 30px 10px 30px;
    box-sizing: border-box;
    .am-form-group {
      margin-bottom: 3rem;
      position: relative;
    }
    label {
      font-size: 15px;
      color: #333;
      text-align: right;
      font-weight: normal;
      white-space: nowrap;
      width: 30px;
      margin-right: 10px;
    }
    input {
      background: #fff;
      font-size: 14px;
      text-indent: 10px;
      height: 40px;
      flex: 1;
      border: 1px solid #E9E9E9;
      border-radius: 2px;
    }
    .send_btn {
      border-radius: 5px;
      height: 40px;
      margin-left: 10px;
    }
    .confirm_btn {
      width: 80%;
      display: block;
      margin: 50px auto 0;
      border-radius: 6px;
      background: #2481F3;
      border: none;
      color: #fff;
      font-size: 14px;
      line-height: 30px;
    }
  }
  .form_title {
    text-align: center;
    font-size: 19px;
  }
  .captcha_img {
    line-height: 1.6;
    height: 38px;
    border-radius: 2px;
    margin-left: 10px;
  }
  .forget_password {
    text-align: center;
    a {
      color: #666;
      font-size: 14px;
    }
  }
  .tips {
    font-size: 13px;
    margin-left: 68px;
    position: absolute;
    top: 40px;
  }
}

.am-topbar-inverse .am-topbar-nav > li > a:hover {
  color: #3598DC !important;
}

.am-topbar-inverse .am-topbar-nav > li > a:hover span font {
  color: #3598DC !important;
}

.bgpd {
  background: #FFFFFF;
  padding: 10px 20px;
}

#serveContent {
  padding: 30px;
  min-width: 300px;
  display: none;
  p {
    margin: 0;
    padding: 0;
    line-height: 26px;
    font-size: 14px;
    display: flex;
    align-items: center;
    label {
      color: #333;
    }
    b {
      color: #555;
      font-weight: normal;
    }
  }
}

.am-form input[type=number], .am-form input[type=search], .am-form input[type=text], .am-form input[type=password], .am-form input[type=datetime], .am-form input[type=datetime-local], .am-form input[type=date], .am-form input[type=month], .am-form input[type=time], .am-form input[type=week], .am-form input[type=email], .am-form input[type=url], .am-form input[type=tel], .am-form input[type=color], .am-form select, .am-form textarea, .am-form-field {
  border-radius: 5px;
  font-size: 1.4rem;
  line-height: 1.6
}

.card_content {
  display: flex;
  align-items: center;
  p {
    margin: 0;
    overflow: hidden;
    width: 60px;
    height: 40px;
    border: 1px solid #ccc;
    margin-right: 5px;
    img {
      width: 100%;
      height: auto;
    }
  }
}

.buy_tips {
  display: flex;
  align-items: center;
  color: #666;
  padding-left: 30px;
  height: 60px;
  .info {
    font-size: 15px;
    font-weight: 500;
    color: #999999;
    margin: 0;
  }
  .price {
    color: #999999;
    font-size: 15px;
    display: flex;
    align-items: center;
    font {
      color: #FF3535;
    }
    span {
      font-size: 24px;
      color: #FF3535;
    }
  }
}

.pay_model {
  z-index: 10000000000018;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  background: rgba(0, 0, 0, .6);
  .wechat-modal {
    background: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 320px;
    text-align: center;
    padding: 36px 0 32px;
    border-radius: 12px;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    .close_btn{
      position: absolute;
      top:0px;
      right: 10px;
      color: #666;
      font-size: 24px;
      border: none;
      height: 40px;
      line-height: 1;
      outline: none;
      padding: 10px;
      background: transparent;
      &:hover{
        color: #333;
      }
    }
    .price {
      font-size: 16px;
      color: #545c63;
      line-height: 24px;
      font-weight: 700;
    }
    .qrcode {
      width: 180px;
      height: 180px;
      margin: 12px auto;
      canvas {
        width: 100%;

        height: 100%
      }
    }
    p {
      font-size: 12px;
      color: #545c63;
      line-height: 18px;
    }
  }
}